package com.code.design.model.demo.observer;

public class Hero extends Subject {
    void move() {
        System.out.println("主角向前移动");
        notifyObservers();
    }
}
